package lambda.enhance;

import java.util.function.Function;
import org.testng.annotations.Test;

/**
 * @author zhang peipei
 */
public class Enhance1 {

    @Test
    public void t1() {


        Function<String, Integer> noneByDefault = notUser -> 0;

        // 用下划线表示未使用的参数
       // Function<String, Integer> noneByDefault2 = _ -> 0;
    }
}
